00001
00002
00003 case L2CA_Service_Union_Configure_tag: {
00004
00005
00006
00007 if(IsMaster_Value())
00008 vccPrintPdxDebugInfo("%_START_ MASTER : GBI <-received [ConfigureConfirm] from LL - return Read_Request %_END_");
00009 else
00010 vccPrintPdxDebugInfo("%_START_ SLAVE : GBI <-received [ConfigureConfirm] from LL - return Read_Request %_END_");
00011
00012
00013 L2CA_packet_out.Service.__unionTag = L2CA_Service_Union_Read_tag;
00014 L2CA_packet_out.Service.__union.Read.__unionTag = L2CA_Read_Union_Request_tag;
00015
00016 L2CA_packet_out.SourceID = 0x02;
00017 L2CA_packet_out.Service.__union.Read.__union.Request.CID = CID;
00018 L2CA_packet_out.Service.__union.Read.__union.Request.Length = 1504;
00019
00020 L2CA_Packet_Out_Post(&L2CA_packet_out);
00021
00022
00023 if(IsMaster_Value())
00024 vccPrintPdxDebugInfo("%_START_ MASTER : GBI -Configure ->sent [Read_Request] to LL %_END_");
00025 else
00026 vccPrintPdxDebugInfo("%_START_ SLAVE : GBI -Configure ->sent [Read_Request] to LL %_END_");
00027
00028
00029 configured = 1;
00030
00031
00032 if(IsMaster_Value())
00033 vccPrintPdxDebugInfo("%_START_ MASTER : GBI -Configure --- #configured = 1# %_END_");
00034 else
00035 vccPrintPdxDebugInfo("%_START_ SLAVE : GBI -Configure --- #configured = 1# %_END_");
00036
00037
00038 connection_established = 1;
00039
00040
00041 if(IsMaster_Value())
00042 vccPrintPdxDebugInfo("%_START_ MASTER : GBI -Configure --- #connection_established = 1# %_END_");
00043 else
00044 vccPrintPdxDebugInfo("%_START_ SLAVE : GBI -Configure --- #connection_established = 1# %_END_");
00045
00046
00047
00048 Set_Post(1);
00049
00050
00051 if(IsMaster_Value())
00052 vccPrintPdxDebugInfo("%_START_ MASTER : GBI -ConfigInd ->sent [Set_Post(1)] to NET %_END_");
00053 else
00054 vccPrintPdxDebugInfo("%_START_ SLAVE : GBI -ConfigInd ->sent [Set_Post(1)] to NET %_END_");
00055
00056 break;
00057 }